package com.hyc.Service;

import com.hyc.cloud.pojo.CommonResult;
import com.hyc.cloud.pojo.payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService
{
    @Override
    public CommonResult<payment> paymentSQL(Long id)
    {
        return new CommonResult<>(44444,"服务降级返回,---PaymentFallbackService",new payment(id,"errorSerial"));
    }
}
 